pushd [directory] popd
pushd is a lot like cd, except that it stores the current directory before changing it. Later on, popd can be used to restore it. pushd can be used several times, storing a stack of directories.
Using pushd without specifying a directory will store the current directory, but not change it.
this command changes the current directory to: ============ ================================ cd c:\fdos\bin c:\fdos\bin pushd c:\games c:\games pushd c:\utils c:\utils popd c:\games popd c:\fdos\bin